<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta charset="UTF-8">
<title>修改用户信息</title> $!{include("import_js_css.html")}
</head>
<body>
	${include("header.html")}
	<div class="menu_all">
		<div class="div_search_result clear">
			<div class="panel-heading panel-result-title">
				<h3 class="panel-title">修改用户信息</h3>
			</div>
			<div class="panel-form-add">
				<form class="form-horizontal" role="form" action="yueyogaAdmin/updateUser.jhtml" method="post">
					<div class="panel-form-layout">
						<label for="inputUserName" class="col-sm-1 control-label">用户名称</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="username" id="inputUserName" value="${name}" >
						</div>
						<input type="hidden" name="id" value="${id}" /> <label for="inputUserJob" class="col-sm-1 control-label">职业岗位</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="job" id="inputUserJob" value="${job}" >
						</div>
						<br /> <br /> <label for="inputUserHomeAddress" class="col-sm-1 control-label">家庭住址</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="homeAddress" id="inputUserHomeAddress" value="${homeAddress}">
						</div>
						<label for="inputUserWorkAddress" class="col-sm-1 control-label">工作地址</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="workAddress" id="inputUserWorkAddress" value="${workAddress}" >
						</div>
						<br /> <br /> <label for="inputUserPhone" class="col-sm-1 control-label">固定电话</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userPhone" id="inputUserPhone" value="${phone}">
						</div>


						<label for="inputUserMobile" class="col-sm-1 control-label">移动电话</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userMobile" id="inputUserMobile" value="${mobile}" >
						</div>

						<br> <br> <label for="inputUserEmail" class="col-sm-1 control-label">EMAIL</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userEmail" id="inputUserEmail" value="${messageMail}" >
						</div>

						<label for="inputUserMsn" class="col-sm-1 control-label">MSN</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userMsn" id="inputUserMsn" value="${msn}" >
						</div>
						<br> <br> <label for="inputUserqq" class="col-sm-1 control-label">QQ</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userqq" id="inputUserqq" value="${qq}" >
						</div>
						<br> <br> <label for="inputUserContact" class="col-sm-1 control-label" style="font-size: 12px;">其他联系方式</label>
						<div class="col-sm-4">
							<input type="text" class="form-control" name="userContact" id="inputUserContact" value="${contact}" >
						</div>
						<br> <br>
						<div class="panel-btn-search">
							<button type="submit" class="btn-ade-default">保存</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	function documentReady() {
		var msg = "${msg}";
		if (msg == "success") {
			var d = alert("修改信息成功!");
			setTimeout(function() {
				d.close().remove();
				window.location.href = "yueyogaAdmin/searchBasicUsers.jhtml";
			}, 1000);
		} else if (msg == "failure") {
			error("修改信息失败!");
		}
	}
	$(function() {
		var msg = "${deletemsg}";
		if (msg != null && msg != "") {
			alert(msg);
		}
	});
</script>
</html>